package com.itcm.manage.mapper;

import com.itcm.manage.entity.SysPermission;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 后台用户权限表 Mapper 接口
 * </p>
 *
 * @author sky
 * @since 2020-06-17
 */
public interface SysPermissionMapper extends BaseMapper<SysPermission> {

    List<SysPermission> getPermissionsByUserId(Long userId);
}
